package com.isdepci.project.eleLoad.mapper;

import com.isdepci.project.eleLoad.domain.AQuotaInformation;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 定额信息Mapper接口
 *
 * @author isdepci
 * @date 2025-02-26
 */
public interface AQuotaInformationMapper
{
    /**
     * 查询定额信息
     */
     AQuotaInformation selectAQuotaInformationById(Long quotaId);

    /**
     * 查询定额信息列表
     */
     List<AQuotaInformation> selectAQuotaInformationList(AQuotaInformation aQuotaInformation);


     List<AQuotaInformation> selectAQuotaAndMachineryList(@Param("quotaCode") String quotaCode);

    /**
     * 新增定额信息
     */
     int insertAQuotaInformation(AQuotaInformation aQuotaInformation);

    /**
     * 修改定额信息
     */
     int updateAQuotaInformation(AQuotaInformation aQuotaInformation);

    /**
     * 删除定额信息
     */
     int deleteAQuotaInformationById(Long quotaId);

    /**
     * 批量删除定额信息
     */
     int deleteAQuotaInformationByIds(Long[] quotaIds);


    void insertList(@Param("list") List<AQuotaInformation> list,@Param("pId")Long pId);



}
